package cn.gwm.flink.streaming.constant;

/**
 * @Author: liangguang
 * @Date: 2022-09-15
 * @Description: 基础字段
 */
public class BaseFields {

    /**
     * 为空字段 默认值
     */
    public static final String defaultVal = "-999999";

    /**
     * vin
     */
    public static final String vin = "deviceId";
    /**
     * 时间字段
     */
    public static final String tid = "item_time";

    public static final String UPLOAD_TIME = "uploadtime";
    /**
     * can数据类型
     */
    public static final String command = "command";
    /**
     * dwd校验，错误字段名称
     */
    public static final String ERROR = "error";

    /**
     * hive的分区字段
     */
    public static final String PARTITION_KEY = "datedt";

    /**
     * hive的分区字段
     */
    public static final String MATCH_ERROR = "match_error";
    /**
     * 落库时间
     */
    public static final String STORE_TIME = "store_time";

    /**
     * 延迟标识
     */
    public static final String DELAY = "delay";
    /**
     * 协力结构
     */
    public static final String CUSTOM_TYPE = "custom_type";


    public static final String COMMAND_TBOX = "TBOX_MONITOR";

    public static final String COMMAND_STATUS = "STATUS";
    public static final String COMMAND_HW_LOCATION = "HW_LOCATION";
    public static final String COMMAND_HW_HEARBEAT_DECODED = "HW_HEARBEAT_DECODED";

    public static final String COMMAND_REMOTE_REQUEST = "REMOTE_REQUEST";
    public static final String COMMAND_REMOTE_CONTROL = "REMOTE_CONTROL";

    public static final String BIG_DATA_STATUS = "bigDataStatus";

    public static final String BIG_DATA_CODE = "code";

    public static final String BIG_DATA_ITEMS = "bigDataItems";

    public static final String BIG_DATA_ITEMS_TIME = "t";

    public static final String BIG_DATA_ITEMS_VALUE = "v";

    public static final String DISCOUNT_POWER = "DiscountPower";
    public static final String DISCOUNT_TIME = "DiscountTime";
    public static final String EXPENSIVE_POWER = "ExpensivePower";
    public static final String EXPENSIVE_TIME = "ExpensiveTime";

    public static final String INTELLGNT_CHRGN_MOD_RESP = "IntellgntChrgnModResp";

    public static final String PLUG_CHRGN_MODE = "PlugChrgnMode";

    public static final String LONGITUDE = "longitude";
    public static final String LATITUDE = "latitude";
    public static final String IS_GPS_FLAG = "is_gps_flag";
    /**
     * 事件发生时间
     */
    public static final String REQUEST_TIME = "request_time";

}
